package com.dcjt.firehotcarpad.moudle

import android.content.Intent
import android.content.pm.ActivityInfo
import android.os.Bundle
import com.aries.library.fast.basis.BasisActivity
import com.aries.ui.widget.progress.UIProgressView
import com.dcjt.firehotcarpad.R
import com.dcjt.firehotcarpad.fragment.DisasterListFragment

class DisasterListActivity : BasisActivity() {
    private var dialog: UIProgressView? = null
    override fun getContentLayout() = R.layout.activity_disaster_list


    override fun initView(savedInstanceState: Bundle?) {
        supportFragmentManager
            .beginTransaction()
            .replace(R.id.fl_container, DisasterListFragment.newInstance(0))
            .commit()
        dialog?.setCancelable(false)
        initLiveData()
    }

    private fun initLiveData() {
    }




    override fun getOrientation(): Int {
        return ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED
    }
}
